const {defineConfig} = require('@vue/cli-service');

module.exports = defineConfig({
    transpileDependencies: false,
    devServer: {
        proxy: {
            '/api': {
                target: 'http://120.239.155.47:8080/', // 请替换为您的后端服务地址
                changeOrigin: true,
                pathRewrite: {
                    '^/api': ''
                }
            }
        }
    }
});